package org.springblade.modules.digitalization.dto;

import lombok.Data;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.secure.utils.AuthUtil;

import java.util.Date;

@Data
public class DaLogDto {
	private BladeUser user;
	private String daMethod;
	private Object data;
	private Date daTime;
	public DaLogDto(String daMethod) {
		setUser(AuthUtil.getUser());
		daTime = new Date();
		this.daMethod = daMethod;
	}
}
